package cn.wonderland.mapper;

import cn.wonderland.domain.Device;
import cn.wonderland.vo.DeviceBuildVo;

import java.util.List;

public interface DeviceMapper {

    void addDevice(Device device);

    Device getDeviceInfoById(Integer id);

    List<DeviceBuildVo> getDeviceByBuildId(Integer id);

    List<Device> getDeviceByType(Integer type);
}
